.ht-theme-main-dark {
  /* --ht-background-color: #042354; */
  --ht-background-color: transparent;
  --ht-foreground-color: #dadada;

  --ht-header-background-color: #02173a;  
  --ht-header-active-background-color: #476af7;
  
  --ht-header-highlighted-background-color: #3053e3;

  --ht-header-foreground-color: #c7c7c7;
  --ht-header-active-foreground-color: #0f0f10;

  --ht-row-header-odd-background-color: #02173a;
  --ht-row-header-even-background-color: #02173a;
  --ht-header-row-background-color: #02173a;

  --ht-header-row-highlighted-background-color: #3053e3;

  --ht-row-cell-odd-background-color: rgb(24, 91, 225);
  --ht-row-cell-even-background-color: rgb(24, 91, 225);

  --ht-border-color: #bfbfbf;
  --ht-cell-horizontal-border-color: #bfbfbf;
  --ht-cell-vertical-border-color: #bfbfbf;

  /* --ht-border-color: #36439a;
  --ht-cell-horizontal-border-color: #36439a;
  --ht-cell-vertical-border-color: #36439a; */

  /* --ht-cell-editor-background-color: #0f0f10; */
  --ht-cell-editor-background-color: rgb(24, 91, 225);
  --ht-cell-editor-border-color: rgb(16, 153, 104);

  --ht-cell-error-background-color: rgb(240, 128, 128);

  /* --ht-read-only-color: #68696c; */
  --ht-read-only-color: #9e9e9e;

  --ht-line-height: 26px;
}

.ht-theme-main-dark .readonly_cell {
  --ht-row-cell-odd-background-color: rgb(12, 46, 105);
  --ht-row-cell-even-background-color: rgb(12, 46, 105);
}

.ht-theme-main .readonly_cell {
  --ht-row-cell-odd-background-color: rgb(248, 248, 248);
  --ht-row-cell-even-background-color: rgb(248, 248, 248);
}

.ht-theme-main-dark .readonly_cell.header_cell {
  --ht-row-cell-odd-background-color: rgb(4, 35, 88);
  --ht-row-cell-even-background-color: rgb(4, 35, 88);
}

.ht-theme-main .readonly_cell.header_cell {
  --ht-row-cell-odd-background-color: rgb(246, 246, 246);
  --ht-row-cell-even-background-color: rgb(246, 246, 246);
}

.ht-theme-main-dark.handsontable.htDropdownMenu > .ht_master, 
.ht-theme-main-dark.handsontable.htContextMenu > .ht_master, 
.ht-theme-main-dark.handsontable.htFiltersConditionsMenu > .ht_master {
  --ht-background-color: #042354;
}